package edu.dublbo.app.habitplusfavorite.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.dublbo.app.habitplusfavorite.model.Resource;
import edu.dublbo.app.habitplusfavorite.vo.ResourceVo;
import edu.dublbo.commons.lang.PageResult;

import java.util.List;

/**
 * <p>
 * 资源 服务类
 * </p>
 *
 * @author habitplus
 * @since 2021-11-29
 */
public interface IResourceService extends IService<Resource> {

    PageResult<Resource> listOfPage(int page, int limit);

    void delete(int id);

    List<ResourceVo> listOfGroup();

}
